package com.edu.dao.impl;

import com.edu.bean.MyDataSource;
import com.edu.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

/**
 * @Auther:zzp
 * @Date:2025/11/3-19:01:50
 */
@Repository
public class UserDaoImpl implements UserDao {

    @Resource
    private MyDataSource myDataSource;

    @Override
    public void selectUser() {
        myDataSource.getConnection();
    }
}
